{% extends './base.html' %}

{% block title%}Autenticação | {% endblock %}

{% block body %}
<body id="login">
  <div id="login-wrapper" class="png_bg"> 
    <div id="login-top"> 
      <h2>Condominium Management System</h2> 
    </div> 
    <div id="login-content">
      <div class="notification information png_bg">
          <div>User: demo | Password: demo</div>
        </div>
      {% if form.errors %}
        <div class="notification error png_bg">
          <div>Authentication failed. Please try again.</div>
        </div>
      {% endif %}
      <form action="{% url django.contrib.auth.views.login %}" method="post"> 
        {% csrf_token %}
        <p></p>
        <p>
          <label>{{ form.username.label_tag }}</label>
          {{ form.username }} 
         <!-- <input class="text-input" type="text" name="username"/>-->
        </p> 
        <div class="clear"></div> 
        <p> 
          <label>{{ form.password.label_tag }}</label> 
          {{ form.password }}
          <!--<input class="text-input" type="password" name="password" /> -->
        </p> 
        <div class="clear"></div> 
        <p><input class="button" type="submit" value="Login" /></p> 
        <input type="hidden" name="next" value="{{ next }}" />
      </form> 
    </div> 
  </div>  
</body> 
{% endblock %}

